package com.yx.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 链接
 * </p>
 *
 * @author yx
 * @since 2023-02-14
 */
public class Wiki implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "wId", type = IdType.AUTO)
    private Integer wId;

    @TableField (value = "wName")
    private String wName;

    @TableField (value = "wIcon")
    private String wIcon;

    @TableField (value = "wLink")
    private String wLink;

    @TableField (value = "tId")
    private Integer tId;

    @TableField (value = "eId")
    private Integer eId;

    @TableField(value = "approved")
    private Integer approved;

    public Integer getApproved() {
        return approved;
    }

    public void setApproved(Integer approved) {
        this.approved = approved;
    }

    public Integer getwId() {
        return wId;
    }

    public void setwId(Integer wId) {
        this.wId = wId;
    }
    public String getwName() {
        return wName;
    }

    public void setwName(String wName) {
        this.wName = wName;
    }
    public String getwIcon() {
        return wIcon;
    }

    public void setwIcon(String wIcon) {
        this.wIcon = wIcon;
    }
    public String getwLink() {
        return wLink;
    }

    public void setwLink(String wLink) {
        this.wLink = wLink;
    }

    public Integer gettId() {
        return tId;
    }
    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Integer geteId() {
        return eId;
    }
    public void seteId(Integer eId) {
        this.eId = eId;
    }

    @Override
    public String toString() {
        return "Wiki{" +
                "wId=" + wId +
                ", wName='" + wName + '\'' +
                ", wIcon='" + wIcon + '\'' +
                ", wLink='" + wLink + '\'' +
                ", tId=" + tId +
                ", eId=" + eId +
                ", approved=" + approved +
                '}';
    }
}
